package cn.getech.data.development.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 表行规则信息
 * </p>
 *
 * @author hujz
 * @since 2019-12-18
 */
@Data
@Accessors(chain = true)
@TableName("bdp_table_field_rules")
public class TableFieldRules implements Serializable {

    private static final long serialVersionUID=1L;
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 表编号
     */
    private Integer tableFieldId;

    /**
     * 表达式的值
     */
    private String calValue;

    /**
     * 规则描述
     */
    private String ruleDesc;

    /**
     * 行规则内置id
     */
    private Integer rowParamId;

    /**
     * 表的id
     */
    private Integer tableId;

    /**
     * 行规则编号
     */
    private Integer rowRuleId;

    /**
     * 字段名称
     */
    @TableField(exist = false)
    private String tableFiledName;

}
